package com.example.myapplication.entity;

import java.util.List;

public class VideoUrl {

    /**
     * urls : [{"id":"89ADDE33C0AAE8EC14B99F6750DB954D","url":"http://vodkgeyttp9.vod.126.net/vodkgeyttp8/68sKFbGS_1328070069_hd.mp4?ts=1621602929&rid=E8FC0D6ACDB9D384E1AF83DDCB1CB9B2&rl=3&rs=pGTzjUhrQNgPMcabUZvolQYFkXgzhTtw&sign=d5216340232004179a6fbfcb15b58906&ext=EPw3aCc6vBd3%2BaerAlAWJWvaN7peUr%2Bn43wSZoacamF0tN5KsmMKzjX1gJgbXzxs%2Fq6FcXQRFTCMvKUtJtcSfrPNtgHkv4EcpQV%2F%2FMFC%2BbH5H%2Fzxs1XXTXnJA5tpqqzUeg%2F0nB7OQ8H5OlxFm1Ug7nQ%2B6KaLR1lx57uygIKTRnKlAPXeNHyiL4a6GuNolq6fs7EtwGZv0C73Bb8s4jcSWHgelZlHhQ%2F%2Fjdqkz90g8cGi%2BOZfy22rvbevfVfbvJId","size":77364876,"validityTime":1200,"needPay":false,"payInfo":null,"r":480}]
     * code : 200
     */

    private int code;
    private List<UrlsBean> urls;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<UrlsBean> getUrls() {
        return urls;
    }

    public void setUrls(List<UrlsBean> urls) {
        this.urls = urls;
    }

    public static class UrlsBean {
        /**
         * id : 89ADDE33C0AAE8EC14B99F6750DB954D
         * url : http://vodkgeyttp9.vod.126.net/vodkgeyttp8/68sKFbGS_1328070069_hd.mp4?ts=1621602929&rid=E8FC0D6ACDB9D384E1AF83DDCB1CB9B2&rl=3&rs=pGTzjUhrQNgPMcabUZvolQYFkXgzhTtw&sign=d5216340232004179a6fbfcb15b58906&ext=EPw3aCc6vBd3%2BaerAlAWJWvaN7peUr%2Bn43wSZoacamF0tN5KsmMKzjX1gJgbXzxs%2Fq6FcXQRFTCMvKUtJtcSfrPNtgHkv4EcpQV%2F%2FMFC%2BbH5H%2Fzxs1XXTXnJA5tpqqzUeg%2F0nB7OQ8H5OlxFm1Ug7nQ%2B6KaLR1lx57uygIKTRnKlAPXeNHyiL4a6GuNolq6fs7EtwGZv0C73Bb8s4jcSWHgelZlHhQ%2F%2Fjdqkz90g8cGi%2BOZfy22rvbevfVfbvJId
         * size : 77364876
         * validityTime : 1200
         * needPay : false
         * payInfo : null
         * r : 480
         */

        private String id;
        private String url;
        private int size;
        private int validityTime;
        private boolean needPay;
        private Object payInfo;
        private int r;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getValidityTime() {
            return validityTime;
        }

        public void setValidityTime(int validityTime) {
            this.validityTime = validityTime;
        }

        public boolean isNeedPay() {
            return needPay;
        }

        public void setNeedPay(boolean needPay) {
            this.needPay = needPay;
        }

        public Object getPayInfo() {
            return payInfo;
        }

        public void setPayInfo(Object payInfo) {
            this.payInfo = payInfo;
        }

        public int getR() {
            return r;
        }

        public void setR(int r) {
            this.r = r;
        }
    }
}
